gl: Store the context::in-frame state in the current context
authorBenjamin Otte <otte@redhat.com>
Tue, 6 Jul 2021 02:47:15 +0000 (04:47 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 22 Jul 2021 14:27:31 +0000 (16:27 +0200)
commita27434a8a7d9eab0731c6f24bc6ec9761ff11ede
tree070974f85e270af63311650339dbb070a164496a
parent2c987861a6d96e12e2037343444ee8f6f4570229
gl: Store the context::in-frame state in the current context

Do not treat the context as already current when the value
of context::in-frame changes.

This is so we can bind to EGL_NO_SURFACE if context::in-frame == false
and to context::surface if context::in-frame == true.

This allows getting rid of the attached property in future commits.
gdk/gdkglcontext.c